package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 车辆表
    */
public class Vehicle implements Serializable {
    private Integer id;

    /**
    * 车辆型号
    */
    private String model;

    /**
    * 车牌号
    */
    private String licensePlateNumber;

    /**
    * 里程
    */
    private Integer mileage;

    /**
    * 0维修中  1空闲  2正在使用
    */
    private Integer enable;

    /**
    * 车辆外观图片
    */
    private String appearance;

    /**
    * 价格
    */
    private String price;

    /**
    * 发动机号
    */
    private String engineNumber;

    /**
    * 最大载人数
    */
    private Integer maximumNumberPassengers;

    /**
    * 添加人
    */
    private Integer addStaffId;

    /**
    * 添加时间
    */
    private Date addTime;

    /**
    * 修改人
    */
    private Integer updateStaffId;

    /**
    * 修改时间
    */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getLicensePlateNumber() {
        return licensePlateNumber;
    }

    public void setLicensePlateNumber(String licensePlateNumber) {
        this.licensePlateNumber = licensePlateNumber;
    }

    public Integer getMileage() {
        return mileage;
    }

    public void setMileage(Integer mileage) {
        this.mileage = mileage;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getAppearance() {
        return appearance;
    }

    public void setAppearance(String appearance) {
        this.appearance = appearance;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getEngineNumber() {
        return engineNumber;
    }

    public void setEngineNumber(String engineNumber) {
        this.engineNumber = engineNumber;
    }

    public Integer getMaximumNumberPassengers() {
        return maximumNumberPassengers;
    }

    public void setMaximumNumberPassengers(Integer maximumNumberPassengers) {
        this.maximumNumberPassengers = maximumNumberPassengers;
    }

    public Integer getAddStaffId() {
        return addStaffId;
    }

    public void setAddStaffId(Integer addStaffId) {
        this.addStaffId = addStaffId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", model=").append(model);
        sb.append(", licensePlateNumber=").append(licensePlateNumber);
        sb.append(", mileage=").append(mileage);
        sb.append(", enable=").append(enable);
        sb.append(", appearance=").append(appearance);
        sb.append(", price=").append(price);
        sb.append(", engineNumber=").append(engineNumber);
        sb.append(", maximumNumberPassengers=").append(maximumNumberPassengers);
        sb.append(", addStaffId=").append(addStaffId);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateStaffId=").append(updateStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}